class promise {
    static Pedding = "待定"
    static FuFilled = "成功"
    static Rejected = "失败"
    constructor(func){
        this.state = promise.Pedding
    }
    resolve(res:any){
        console.log(res);
        
    }
    reject(reason:any){
        console.log(reason);
        
    }
    then(){

    }

}